package org.jeecg.modules.zcgl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.system.base.entity.DelFlagBaseEntity;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: 客户余额信息
 * @Author: jeecg-boot
 * @Date:   2020-12-11
 * @Version: V1.0
 */
@ApiModel(value="zcgl_customer_balance对象", description="客户余额信息")
@Data
@TableName("zcgl_customer_balance")
public class CustomerBalance extends DelFlagBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;
	/**客户信息*/
	@Excel(name = "客户信息", width = 15, dictTable = "zcgl_customer_info", dicText = "name", dicCode = "id")
    @Dict(dictTable = "zcgl_customer_info", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "客户信息")
    private String customerId;

    /**
     * 合同信息
     */
    @Excel(name = "合同信息", width = 15, dictTable = "zcgl_lease_contract_info", dicText = "contract_num", dicCode = "id")
    @Dict(dictTable = "zcgl_lease_contract_info", dicText = "contract_num", dicCode = "id")
    @ApiModelProperty(value = "合同信息")
    private String leaseContractId;

	/**余额*/
	@Excel(name = "余额", width = 15)
    @ApiModelProperty(value = "余额")
    private BigDecimal balance;
}
